import request from '@/utils/request'
// 获取列表
export function GetListAPI(params) {
  return request({
    url: '/scheduling/standardHours/list',
    method: 'GET',
    params
  })
}

// 获取详情
export function GetDetailsAPI(params) {
  return request({
    url: '/scheduling/standardHours/' + params,
    method: 'GET'
  })
}

// 新增
export function AddDataAPI(data) {
  return request({
    url: '/scheduling/standardHours/',
    method: 'POST',
    data
  })
}

// 修改
export function EditDataAPI(data) {
  return request({
    url: '/scheduling/standardHours/edit',
    method: 'PUT',
    data
  })
}

// 删除
export function DelDataAPI(data) {
  return request({
    url: '/scheduling/standardHours/' + data,
    method: 'DELETE'
  })
}
